body,
html {
    margin: 0;
    padding: 0;
}

.container {
    width: 100vw;
    height: 100vh;
}

.image {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: none;
}

.overlay {
    inset: 0;
    display: flex;
    position: fixed;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.overlay .loading {
    color: white;
    row-gap: 8px;
    display: none;
    margin-top: 8px;
    font-weight: bold;
    align-items: center;
    flex-direction: column;
}

.overlay .loading::before {
    content: "";
    width: 32px;
    height: 32px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    animation: spin 1s linear infinite;
    border-top: 4px solid white;
    border-radius: 50%;
}

.overlay .success {
    color: #00ff00;
    display: none;
    font-weight: bold;
}

.overlay .failure {
    color: #ff0000;
    display: none;
    font-weight: bold;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
